<div class="modal-body">
  {{#if error}}
    <div class="alert alert-error">
      <button class="close" data-dismiss="alert">×</button>
      {{i18n topic.invite_reply.error}}
    </div>
  {{/if}}

  {{#if finished}}
    {{{successMessage}}}
  {{else}}
    <label>{{i18n topic.invite_reply.email}}</label>
    {{textField value=email placeholderKey="topic.invite_reply.email_placeholder"}}
  {{/if}}
</div>
<div class="modal-footer">
  {{#if finished}}
    <button class='btn btn-primary' {{action closeModal}}>{{i18n close}}</button>
  {{else}}
    <button class='btn btn-primary' {{bindAttr disabled="disabled"}} {{action createInvite}}>{{buttonTitle}}</button>
  {{/if}}

</div>